package com.ranjiaqi.print;

import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

/**
 * @ClassName TestAutoFlush
 * @Description TODO
 * @Author hp
 * @Date 2021/7/2 18:31
 * @Version 1.0
 **/
public class TestAutoFlush {
    public static void main(String[] args) throws IOException {
        PrintWriter pw = new PrintWriter(new FileWriter("F:/java/t1.txt"), true);
        pw.println("岁月静好");

    }
}
